local skel = fk.CreateSkill {
  name = "lq_come_skill",
}

skel:addEffect("cardskill", {
  prompt = "#lq_come_skill",
  mod_target_filter = Util.TrueFunc,
  can_use = Util.CanUseToSelf,
  on_effect = function(self, room, effect)
    local to = effect.to
    to:reset()
    if to.dead then return end
    local tos = room:askToChooseToMoveCardInBoard(to, {
      skill_name = self.name, cancelable = false, prompt = "#lq_come_skill-move"
    })
    if #tos == 2 then
      room:askToMoveCardInBoard(to, {
        target_one = tos[1], target_two = tos[2], skill_name = self.name, skip = false,
      })
    end
  end,
})

Fk:loadTranslationTable{
  ["lq_come_skill"] = "临",
  ["#lq_come_skill"] = "复原武将牌，并移动场上一张牌",
  ["#lq_come_skill-move"] = "选择两名角色，在两者之间移动场上一张牌",
}


return skel
